package com.guomei.bean.curse;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AuthorizeChannelCode {
    //用户id
    @NotNull(message = "用户id不能为空")
    private Long userId;
    //编码code
    @NotNull(message = "渠道编码不能为空")
    @NotBlank(message = "渠道编码不能为空")
    private String channelCode;
}
